<!doctype html>
<html class="x-admin-sm">
<head>
    <meta charset="UTF-8">
    <title>后台登陆</title>
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi"/>
    <meta http-equiv="Cache-Control" content="no-siteapp"/>
    <link rel="stylesheet" href="//unpkg.com/@layui/layui-vue/lib/index.css"/>
    <script src="//unpkg.com/vue@3"></script>
    <script src="//unpkg.com/@layui/layui-vue"></script>
</head>
<body class="index">
<div id="app">
    <lay-layout class="example">
        <lay-header>用户登陆</lay-header>
        <lay-layout>
            <lay-side>side</lay-side>
            <lay-body>
                <lay-input placeholder="提示信息"></lay-input>
            </lay-body>
            <lay-side>right</lay-side>
        </lay-layout>
    </lay-layout>
</div>
</body>
<script>
    const App = {
        data() {
            return {
                message: "Hello World"
            };
        },
    };
    const app = Vue.createApp(App);
    app.use(LayuiVue);
    app.mount("#app");

</script>
<style>
    .example .layui-footer,
    .example .layui-header {
        line-height: 60px;
        text-align: center;
        background: #87ca9a;
        color: white;
    }
    .example .layui-side {
        display: flex;
        background: #77c38c;
        align-items: center;
        justify-content: center;
        color: white;
    }
    .example .layui-body {
        display: flex;
        background: #5FB878;
        align-items: center;
        justify-content: center;
        color: white;
    }
</style>
</html>